package com.geek.gkfgw.facade.auth.expire;

import com.geek.gkdoc.facade.DocField;
import com.geek.gkfgw.facade.abs.AbstractRequest;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * <h1>通过长Token换取短Token，请求对象。</h1><br/>
 *
 * @author hmilyylimh
 * ^_^
 * @version 0.0.1
 * ^_^
 * @date 2023/9/3 19:59
 */
@Setter
@Getter
@ToString(callSuper = true)
public class ExchangeByRefreshTokenRequest extends AbstractRequest {

    @NotBlank
    @DocField(desc = "长Token", extra = "换短Token(时效长点)", required = true, sampleVal = "tgvb09724263383dsfdsafasdfas897693", version = "20230901")
    private String refreshToken;
}